module.exports = {
  presets: [
    [
      "@babel/env",
      {
        useBuiltIns: "usage",
        corejs: 3,
      },
    ],
    "@babel/preset-react",
    "@babel/preset-typescript",
  ],
  plugins: [
    "react-hot-loader/babel",
    [
      "module-resolver",
      {
        alias: {
          "@/components": "./components",
        },
      },
    ],
    [
      "import",
      {
        libraryName: "antd",
        style: "css",
      },
    ],
  ],
};
